# !usr/bin/env python
# -*- coding:utf-8 _*-
"""
@Author:张广勤
@Web site: https://www.tunan.wang
@Github:www.github.com
 
@File:myApp_yi1_0.py
@Time:2024/9/19 14:12

@Motto:不积跬步无以至千里，不积小流无以成江海！
"""
import streamlit as st
import pandas as pd
# 易经模块集中于此，金钱课-卦爻彖象-易白话-易本综-易查找
# from 后为文件名，import 后为函数
from yi.Yi3_3_he import jinqianke
from yi.guayaoci_tuan_xiang1_0_he import guayaotuanxiang
from yi.yi_baihua1_0_he import yibaihua
from yi.Yi_ben_jiao1_0_he import yizong
from yi.yi_search2_0_he import yisearch


df = pd.DataFrame({
  'first column': ['易经金钱课', '卦辞爻辞彖传象传','易原文及白话文','本卦->综卦','易经关键词查找'],
  'second column': [15, 16, 17, 18, 19]
})

# df
option = st.sidebar.selectbox(
    'Which number do you like best?',
     df['first column'], key='yijizhong')

# st.markdown('<p style="text-align:right;">'+raddom_quote.get_random_quote()+'</p>',unsafe_allow_html=True)
# st.markdown('<p style="text-align:right;">'+random_line1_0.random_line("caigentan.md")+'</p>',unsafe_allow_html=True)
'You selected:', option


if option == '易经金钱课':
    jinqianke()

if option == '卦辞爻辞彖传象传':
    guayaotuanxiang()


if option == '易原文及白话文':
    yibaihua()

if option == '本卦->综卦':
    yizong()

if option == '易经关键词查找':
    yisearch()

